<?php
	
include_once('variables.php');

define ('CURRENT_BASE_URL', $baseURL);

include_once(NEW_RESELLERSPANEL_ROOT_DIR.'variables.php');

$action = $_GET['ss'];
	
?>
<html>
<head>
<title>Web hosting, reseller hosting and an affiliate program</title>
<meta name="description" content="Web hosting reseller solution with an affiliate program. Easy to use reseller hosting control panel. Advanced web hosting control panel with $4.00/yr. domain registration. 2nd tier affiliate program for referring new resellers.">
<meta name="keywords" content="web hosting, reseller hosting, hosting reseller, control panel, affiliate, affiliate program, reseller, resellers, web hosting reseller, domain registration, domain, domain name, hosting, customer support, web hosting automation, private label reseller, private label, customers, service">
<meta name="revisit-after" content="30 days">
<meta name="robots" content="index, follow">
<meta name="language" content="en-us">
<meta name="classification" content="Web Hosting, Reseller Hosting, Domain Names and Affiliate Program">
<meta name="Creator" content="support@resellerspanel.com">
<meta name="Publisher" content="http://www.resellerspanel.com">
<meta name="Distribution" content="Global">
<meta name="Rating" content="General">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_header.php'); ?>

</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="100%" align="center" style="background: #FFFFFF; border-left: 4px solid #FFFFFF; border-right: 4px solid #FFFFFF;">
  <tr>
   <td height="10"></td>
  </tr>
  <tr>
    <td height="69"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_top.php'); ?></td>
  </tr>
  <tr>
   <td height="10"></td>
  </tr>
  <tr>
    <!-- Navigation -->
    <td height="24"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_menu.php'); ?></td>
  </tr>
  <tr>
  <!-- Content -->
    <td style="padding-top: 4px;" valign="top">
			<table width="760" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="185" valign="top"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/news.html'); ?></td>
			    <td valign="top" style="padding: 15px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			      <tr>
			        <td><img src="/reseller_hosting_files/page_headers/h_reseller_control_panel.gif" alt="Login To Your Reseller's Account"></td>
			      </tr>
			      <tr>
			        <td height="6" background="/reseller_hosting_files/h_line.jpg"></td>
			      </tr>
			    </table>
		    
			    <div style="margin-left: 18px; width: 400px;">
			    	<br>
						<table width="100%" border="0" cellspacing="0" cellpadding="2" class="border">
						<tr>
							<td height="203" valign="top"> 
								<?php if($action=="found") { ?>
									Password has been sent. 
								<?php } else if($action=="no match") { ?>
									No match in the databse. Try different login and/or email.
									<br>
									<a href="<?php echo CURRENT_BASE_URL;?>/lostpassword.html"">Back</a>
								<?php } else if($action=="error") { ?>
									Error while trying to send your password. Please contact our support team.
									<br>
									<a href="<?php echo CURRENT_BASE_URL;?>/lostpassword.html"">Back</a>
								<?php } else { ?>
									Did you forget your password ? If so, fill out this form with you 
									username and email and your password will be emailed to you instantly.<br>
									<br>
									<table class="border">
									<form action='<?php echo CURRENT_BASE_URL;?>/lostpassword.php' method='POST'>
									<TR>
										<TD colspan="2">Type you username and email here:</TD>
									</TR>
									<TR>
										<TD>Username :</TD>
										<TD><input type='text' name='username' class="input"></TD>
									</TR>
									<TR>
										<TD>E-mail :</TD>
										<TD><input type='text' name='email' class="input"></TD>
									</TR>
									<tr>
										<td align=center colspan=2><input type=submit value="Email my password" class="input"></td>
									</tr>
									</form>
									</table>
									<br><br>
								<?}?>
							</td>
						</tr>
						</table>
					</div>
				</td>
			  </tr>
			</table>
		</td>
  </tr>
  <tr>
    <td><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/menu_footer.php'); ?></td>
  </tr>
  <tr><!-- Footer -->
   <td height="25"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_footer.php'); ?></td>
  </tr>

</table>
</body>
</html>